home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / db / esm-3.1 / esm-3 / usr / local / sm / src / include / option_macros.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-05-05  |  2.2 KB  |  71 lines

  1. #ifndef _OPTION_MACROS_H_
  2. #define _OPTION_MACROS_H_
  3. /*
  4.  *   $RCSfile: option_macros.h,v $  
  5.  *   $Revision: 1.1.1.1 $  
  6.  *   $Date: 1996/05/04 21:55:08 $      
  7.  */ 
  8. #ifndef __OPTION_MACROS_H__
  9. #define __OPTION_MACROS_H__
  10.  
  11.  
  12. /**********************************************************************
  13. * EXODUS Database Toolkit Software
  14. * Copyright (c) 1991 Computer Sciences Department, University of
  15. *                    Wisconsin -- Madison
  16. * All Rights Reserved.
  17. *
  18. * Permission to use, copy, modify and distribute this software and its
  19. * documentation is hereby granted, provided that both the copyright
  20. * notice and this permission notice appear in all copies of the
  21. * software, derivative works or modified versions, and any portions
  22. * thereof, and that both notices appear in supporting documentation.
  23. *
  24. * THE COMPUTER SCIENCES DEPARTMENT OF THE UNIVERSITY OF WISCONSIN --
  25. * MADISON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION.  
  26. * THE DEPARTMENT DISCLAIMS ANY LIABILITY OF ANY KIND FOR ANY DAMAGES
  27. * WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
  28. *
  29. * The EXODUS Project Group requests users of this software to return 
  30. * any improvements or extensions that they make to:
  31. *
  32. *   EXODUS Project Group 
  33. *     c/o David J. DeWitt and Michael J. Carey
  34. *   Computer Sciences Department
  35. *   University of Wisconsin -- Madison
  36. *   Madison, WI 53706
  37. *
  38. *     or exodus@cs.wisc.edu
  39. *
  40. * In addition, the EXODUS Project Group requests that users grant the 
  41. * Computer Sciences Department rights to redistribute these changes.
  42. **********************************************************************/
  43.  
  44. /*
  45.  * option.h
  46.  *
  47.  * classes, defines, typedefs, etc. for command line and resource file
  48.  * option processing
  49.  */
  50.  
  51. /*   Error return codes: */
  52. #define OPTERR_Success            0
  53. #define OPTERR_InternalError    -1
  54. #define OPTERR_DefaultNeeded    -2
  55. #define OPTERR_IllegalDescLine    -3
  56. #define OPTERR_IllegalClass        -4
  57. #define OPTERR_ClassTooLong        -5
  58. #define OPTERR_TooManyClasses    -6
  59. #define OPTERR_Duplicate        -7
  60. #define OPTERR_NoMatch            -8
  61. #define OPTERR_Syntax            -9
  62.  
  63.  
  64. #define MAXOPTLENGTH             256
  65. #define MAXOPTCLASSIFICATION     10
  66. #define MAXOPTCLASSLENGTH         (1000+MAXOPTCLASSIFICATION)
  67.  
  68.  
  69. #endif __OPTION_MACROS_H__
  70. #endif /* _OPTION_MACROS_H_ */
  71.